<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="../org/angular.min.js"></script>
</head>
<body>
    <div ng-app='hd' ng-controller='ctrl'>
       {{status}}

       <label for=""><input type="checkbox" ng-model='status'>接收协议</label>

       <button ng-init="copyright=false" ng-click='copyright=!copyright'>查看协议</button>
       <br/>
       <textarea ng-if='copyright'>
           111111
       </textarea>
        <br/>
        <button ng-disabled="!status"></button>
    </div>
</body>
</html>